using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace WebUpdaterAdminCore.Models
{
    public class SendHistory
    {
        /// <summary>
        /// MsgPacket中的RequestId
        /// </summary>
        [Key]
        public string Id { get; set; }

        /// <summary>
        /// 发送类型
        /// </summary>
        public string SendType { get; set; }

        /// <summary>
        /// 发送人
        /// </summary>
        public string SendUser { get; set; }

        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime SendTime { get; set; }

        /// <summary>
        /// 会话ID
        /// </summary>
        public string SendSessionId { get; set; }

        /// <summary>
        /// 接收类型
        /// </summary>
        public string ReceiveType { get; set; }

        /// <summary>
        /// 接收者信息，客户端ID
        /// </summary>
        public string ReceiveUser { get; set; }

        /// <summary>
        /// 接收时间
        /// </summary>
        public DateTime ReceiveTime { get; set; }

        /// <summary>
        /// 接收结果
        /// </summary>
        public string ReceiveContent { get; set; }
    }
}
